
package com.insigma.business.qrcode.common.service;



import com.insigma.business.qrcode.common.dao.CommonAdminAreaDO;
import com.insigma.business.qrcode.common.dto.CommonAdminAreaBSearcher;
import com.insigma.business.qrcode.common.dto.req.QueryAreaStreetReqDTO;

import java.util.List;


public interface CommonAdminAreaService {

    
    List<CommonAdminAreaDO> search(final CommonAdminAreaBSearcher innerSearcher);

    
    CommonAdminAreaDO get(final String id);

    
    CommonAdminAreaDO getQg(final String id);

    String getQgFullValuePath(final String id);

    
    Integer insert(final CommonAdminAreaDO commonAdminArea);

    
    Integer update(final CommonAdminAreaDO commonAdminArea);

    
    Integer delete(final String id, final String modifierType, final Long modifierId);

    
    void testConvertToArea();

    
    List<CommonAdminAreaDO> findSubAreaList(String adminAreaCode);

    
    CommonAdminAreaDO findAdminAreaOfEmployee(String userId);

    
    List<CommonAdminAreaDO> getAllSubArea(String s);

    
    List<CommonAdminAreaDO> listByCodeAndLevel(String areaCode, int level);

    List<CommonAdminAreaDO> findQGSubAreaList(String cutdAreaCode);

    
    List<CommonAdminAreaDO> getAllSubAreaOfQg(String code);

    List<CommonAdminAreaDO> getAllSubAreaOfQgByValue(String areaName);

    List<CommonAdminAreaDO> getSubAreaByValue(String areaName);

    Integer updateOfQg(CommonAdminAreaDO commonAdminAreaDO);
    List<CommonAdminAreaDO> getSubAreaByParentIDAndLevel(QueryAreaStreetReqDTO queryAreaStreetReqDTO);
}
